package com.youlai.system.model.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ColumnWidth(20)
public class ExamExportVO {

    @ExcelIgnore
    private Long studentId;

    @ExcelIgnore
    private Long courseId;

    @ExcelProperty(value = "部门")
    private String deptName;

    @ExcelProperty(value = "工号")
    private String account;

    @ExcelProperty(value = "司机姓名")
    private String studentName;

    @ExcelProperty(value = "故障名称")
    private String courseName;

    @ExcelIgnore
    private Integer courseMonth;

    @ExcelProperty(value = "评估周期")
    private String courseMonthStr;

    @ExcelProperty(value = "人员批次")
    private String sourceName;

    @ExcelProperty(value = "上周期评估等级")
    private String degreeStr;
    @ExcelProperty(value = "本周期评估开始时间")
    @DateTimeFormat("yyyy/MM/dd HH:mm:ss")
    @ColumnWidth(25)
    private LocalDateTime prevScoreTime;

    @ExcelProperty(value = "本周期评估截止时间")
    @DateTimeFormat("yyyy/MM/dd HH:mm:ss")
    @ColumnWidth(25)
    private LocalDateTime nextScoreTime;
    @ExcelProperty(value = "需评估次数")
    private Integer evaluateTimes;
    @ExcelProperty(value = "已评估次数")
    private Long hasEvaluateTimes;

}
